vtd: move the snoop control detection out of acpi_dmar_init()
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 12 Feb 2009 10:54:17 +0000 (10:54 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 12 Feb 2009 10:54:17 +0000 (10:54 +0000)
commitb4a842e00ff3357e63210168f389a92bfd493e57
treee9abe1a10550dae9cfc42ed48f0b9036877f8a4b
parent418f758483bc29857e1593775bb2ce0fdb4d34c6
vtd: move the snoop control detection out of acpi_dmar_init()
where the capability value is not initialized thus we may
get random value.

Signed-off-by: Xin, Xiaohui<xiaohui.xin@intel.com>
xen/drivers/passthrough/vtd/dmar.c
xen/drivers/passthrough/vtd/iommu.c